<html xmlns:wicket="http://wicket.apache.org/">
<body>
<wicket:panel>
    <fieldset>
      <legend><span><wicket:message key="diskQuota">Disk Quota</wicket:message></span></legend>
      <ul>
        <li class="choiceItem">
          <input id="enableDiskQuota" type="checkbox" wicket:id="enableDiskQuota" />
          <label for="enableDiskQuota"><wicket:message key="enableDiskQuota">Enable Disk Quota</wicket:message></label>
        </li>
        <li>
          <label for="cleanUpFreq"><wicket:message key="cleanUpFreq">Force cache disk quota is exceeded every:</wicket:message></label>
          <input class="text" wicket:id="cleanUpFreq" id="cleanUpFreq" type="text" style="width: 80px;"/>
          <wicket:message key="cleanUpFreqUnits">minutes</wicket:message>
          <div wicket:id="cleanUpLastRun">(Last run: X minutes ago.)</div>
        </li>
        <li>
          <label for="globalQuota"><wicket:message key="setGlobalQuota">Set cache disk quota to:</wicket:message></label>
          <input class="text" wicket:id="globalQuota" id="globalQuota" type="text" style="width: 80px;"/>
          <select class="text" id="globalQuotaUnits" wicket:id="globalQuotaUnits"></select>
          <div wicket:id="globalQuotaProgressBar"></div>
        </li>
        <li>
          <label><wicket:message key="globalQuotaTitle">When forcing quota limits, remove tiles that are:</wicket:message></label>
          <div wicket:id="globalQuotaExpirationPolicy">
          <ul class="choiceList">
            <li>
              <input id="globalQuotaPolicyLFU" type="radio" wicket:id="globalQuotaPolicyLFU" />
              <label for="globalQuotaPolicyLFU"><wicket:message key="LFU">Least frequently used</wicket:message></label>
            </li>
            <li>
              <input id="globalQuotaPolicyLRU" type="radio" wicket:id="globalQuotaPolicyLRU" value="LRU"/>
              <label for="globalQuotaPolicyLRU"><wicket:message key="LRU">Least recently used</wicket:message></label>
            </li>
          </ul>
          </div>
        </li>
        <li wicket:id="quotaStoreContainer">
          <label for="diskQuotaStore"><wicket:message key="diskQuotaStore">quotastore:</wicket:message></label>
          <select class="text" id="diskQuotaStore" wicket:id="diskQuotaStore"></select>
          <ul wicket:id="jdbcQuotaStoreContainer">
            <li>
	          <label for="dialectChooser"><wicket:message key="jdbcQuotaDialect">dialect:</wicket:message></label>
	          <select class="text" id="dialectChooser" wicket:id="dialectChooser"></select>
            </li>
            <li>
	          <label for="connectionTypeChooser"><wicket:message key="connectionTypeChooser">connectionType:</wicket:message></label>
	          <select class="text" id="connectionTypeChooser" wicket:id="connectionTypeChooser"></select>
            </li>
            <li wicket:id="connectionTypeContainer">
	           	<ul>
		            <li wicket:id="jndiLocationContainer">
			          <label for="jndiLocation"><wicket:message key="jndiLocation">jdniLocation:</wicket:message></label>
			          <input type="text" class="text" id="jndiLocation" wicket:id="jndiLocation">
		            </li>
		            <li wicket:id="connectionPoolConfigurator"></li>
		        </ul>
		    </li>
          </ul>
        </li>
      </ul>
    </fieldset>
</wicket:panel>
</body>
</html>

